package filters;

import java.io.File;

public class ExecutableFilter extends PermissionFilter {

	public ExecutableFilter(boolean permission) {
		super(permission);
	}

	public boolean accept(File f) {
		return (f.canExecute() == _permission);
	}

}
